package example.springboot.mapper;

import example.springboot.model.Question;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface questionListMapper extends Mapper<Question> {
    @Select("select * from question limit #{start},#{limit}")
    List<Question> questionlist(@Param("start") Integer start,@Param("limit") Integer limit);
}
